﻿using System;
using System.Globalization;

namespace Unknown.Framework.General
{
    /// <summary>
    /// 变量类
    /// </summary>
    public static class Variable
    {
        private static string _PathSeparator = "\\";
        /// <summary>
        /// 路径分隔符
        /// </summary>
        public static string PathSeparator
        {
            get
            {
                return Variable._PathSeparator;
            }
            set
            {
                Variable._PathSeparator = value;
            }
        }
        private static CultureInfo _Culture = CultureInfo.CurrentCulture;
        /// <summary>
        /// 区域设置
        /// </summary>
        public static CultureInfo Culture
        {
            get
            {
                return Variable._Culture;
            }
            set
            {
                Variable._Culture = value;
            }
        }

        private static string _Develop = string.Format(Variable.Culture, "{0}Develop", AppDomain.CurrentDomain.BaseDirectory);
        /// <summary>
        /// 开发目录
        /// </summary>
        public static string Develop
        {
            get
            {
                return Variable._Develop;
            }
            set
            {
                Variable._Develop = value;
            }
        }
    }
}
